package ntd.remote.link.bo;

import lombok.Data;
import ntd.util.fun.ComFun;

import java.util.function.Consumer;

@Data
public class RemoteBO {

    /** 设备名称 */
    private String terminalName;

    /** 设备code */
    private String terminalCode;

    /** 服务端ip */
    private String serverIp;

    /** 服务器端口 */
    private int port;

    private Consumer<TerminalBO> onCollBOConsumer = remoteOnCollBO -> {};

    private ComFun.FunInOutNoException<MsgBO, byte[]> funIn = msgBO -> new byte[]{};
}
